<div class="pattern"></div>
<div class="name"><?= $sitetext['my_name']['_value'] ?><br /><?= $sitetext['my_surname']['_value'] ?></div>
<div style="overflow: hidden; margin-bottom: 15px">
	<div class="menu_cont">
		<? foreach ($menu as $key => $value): ?>
			<? if (($c_url == '/'.$value->link) || ($c_url == '' && ($value->title == 'Главная')) || (!empty($submenu[1]) && $value->link == $submenu[1])): ?>
				<div class="active">
					<span></span><?= $value->title ?>
				</div>
			<? else: ?>
				<div>
					<a href="<?= URL::site($value->link) ?>"><?= $value->title ?></a>
				</div>
			<? endif ?>
		<? endforeach ?>
	</div>
	<? if (!empty($submenu)): ?>
		<?= View::factory('pieces/submenu', array('submenu' => $submenu)) ?>
	<? endif ?>
</div>